function selectH_id(a){
	var block = $(".block").val();
	var unit = $(".unit").val();
	var room_number = $(".room_number").val();
	var currentPage = $("#currentPage").html();	
	if(a==1){
	    currentPage++;	
	}else if(a==0){
		currentPage--;
	}
	$("#left-bottom").empty();
	$.ajax({
	   type:"post",
	   url :"../costdataentry.action",
	   data:{
		   "inhabitant_House.block":block,
		   "inhabitant_House.unit":unit,
		   "inhabitant_House.room_number":room_number,
			  currentPage:currentPage,		   
	   },
	   dataType:"html",
	   success:function(data){
		   $($.parseHTML(data, document, true)).appendTo($("#left-bottom"));       
	   },
	   error:function(){
		   alert("失败");
	   }
	});	
	
}

selectH_id(3)